package com.stylefeng.guns.modular.api.service.impl;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.stylefeng.guns.modular.api.service.IAwardsService;
import com.stylefeng.guns.modular.platform.dao.AwardsMapper;
import com.stylefeng.guns.modular.platform.model.Awards;

/**
 * <p>
 * 平台奖项设置表 服务实现类
 * </p>
 *
 * @author stylefeng123
 * @since 2018-07-25
 */
@Service
public class AwardsServiceImpl extends ServiceImpl<AwardsMapper, Awards> implements IAwardsService {

	@Override
	public double selectCountRateByActivityId(Integer activityId, Integer id) {
		return this.baseMapper.selectCountRateByActivityId(activityId, id);
	}

}
